// express_cookie.js 文件
var express      = require('express')
var cookieParser = require('cookie-parser')
var util = require('util');

var app = express()
app.use(cookieParser())

//  http://127.0.0.1:8081/
app.get('/', function(req, res) {
    //  Cookies: [Object: null prototype] {}
    console.log("Cookies: " + util.inspect(req.cookies));
})

app.listen(8081)